package com.xiaoyu.lingdian.service;

import java.util.List;
import com.xiaoyu.lingdian.entity.CorePartner;
import com.xiaoyu.lingdian.core.mybatis.page.Page;

public interface CorePartnerService {

	/**
	* 添加
	* @param corePartner
	* @return
	*/
	public boolean insertCorePartner(CorePartner corePartner);

	/**
	* 修改
	* @param corePartner
	* @return
	*/
	public boolean updateCorePartner(CorePartner corePartner);

	/**
	* 删除
	* @param corePartner
	* @return
	*/
	public boolean deleteCorePartner(CorePartner corePartner);

	/**
	* 批量删除
	* @param list
	*@return boolean
	*/
	public boolean deleteBatchByIds(List<String> list);

	/**
	* 查询
	* @param corePartner
	* @return
	*/
	public CorePartner getCorePartner(CorePartner corePartner);

	/**
	* 查询所有List
	*@return List
	*/
	public List<CorePartner> findCorePartnerList();


	/**
	* 查询所有Page
	*@return Page
	*/
	public Page<CorePartner> findCorePartnerPage(int pageNum, int pageSize, String crprrName);

//<=================定制内容开始==============
//==================定制内容结束==============>

}